<?
 
 class Controller_Gallery
 extends Controller_Base{
 	
 	function index($args) {
// 		echo "gallery";
 		
 		$template = new Template ('picasa.gallery.tmpl');

 		$content 	= new Model_Content($this->registry);
		$content 	= $content->getContentByID($this->menu->getIdByAlias('gallery'));
 		
 		$template->setArgs(
 			array(
 				menu => $this->menu->getMenu(1),
 				text =>	$content->text,
 			)
 		);
 		
 		return array(
 			status 		=> 0,
 			template	=> $template
 		);
 	}
 	
 } 

?>